package com.jy.bo.common.conf.util;

import org.apache.commons.lang3.StringUtils;

public class PrivacyDimmerUtil {
    private static final String OVERLAY = "****";
    private static final int START = 3;
    private static final int END = 7;
    public static String maskBankCard(String content) {
        if (StringUtils.isEmpty(content)) {
            return "";
        }
        return StringUtils.overlay(content, OVERLAY, START, END);
    }

}